package com.online.college.core.message.domain;

import com.online.college.common.orm.BaseEntity;

import java.util.Date;

/**
 * 消息表
 */
public class Message extends BaseEntity {

	private static final long serialVersionUID = 94044276250229411L;

	/**
	 * 标题
	 **/
	private String title;
	/**
	 * 正文
	 **/
	private String contents;
	/**
	 * 发送状态
	 **/
	private String status;
	/**
	 *发送日期
	 **/
	private Date sendDate;
	/**
	 * 发送方式
	 **/
	private String sendType;

    /**
     * 消息的ID
     */
    private Long msgId;

	/**
	 * 创建时间
	 * @return
	 */
	private Date createDate ;

	/**
	 * 更新时间
	 * @return
	 */
	private Date updateDate ;

	/**
	 * 失效时间
	 * @return
	 */
	private Date inactiveDate;

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getMsgId() {
        return msgId;
    }

    public void setMsgId(Long msgId) {
        this.msgId = msgId;
    }

    public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public String getSendType() {
		return sendType;
	}

	public void setSendType(String sendType) {
		this.sendType = sendType;
	}

	public Date getInactiveDate() {
		return inactiveDate;
	}

	public void setInactiveDate(Date inactiveDate) {
		this.inactiveDate = inactiveDate;
	}
}

